
package com.wyzz.hr.bo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.hibernate.criterion.DetachedCriteria;

import com.wyzz.hr.pojo.Attendperiod;
import com.wyzz.hr.pojo.Attendshift;
import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.util.Pager;

public interface IAttendshiftBO {

	public abstract List getObjects(Class class1, String as[]);

	public abstract Object loadObject(Class class1, Object obj, String as[],
			boolean aflag[]);

	public abstract boolean saveObject(Object obj);

	public abstract boolean updateObject(Object obj);

	public abstract boolean delObject(Object obj);

	public abstract Boolean isUsed(Attendshift attendshift);

	public abstract Date nextDate(Date date);

	public abstract List searchEmployee(Pager pager,
			DetachedCriteria detachedcriteria);

	public abstract boolean saveSchedule(String as[], Attendshift attendshift,
			Date date, Date date1, Date date2);

	public abstract boolean batchUpdateEmpshift(List list);

	public abstract List searchAttendSchedule(Pager pager,
			DetachedCriteria detachedcriteria);

	public abstract List searchAttendShift(String s, Integer integer);

	public abstract List searchAttendShiftById(String s);

	public abstract Attendshift getNonStrictDefaultAttendshift();

	public abstract List searchDefaultAttendShiftRela();

	public abstract Attendshift getDefaultAttendshiftByEmp(List list,
			Attendshift attendshift, Employee employee);

	public abstract Attendshift getDefaultAttendshiftByEmp(Employee employee);

	public abstract void saveSort(String as[]);

	public abstract void saveDefault(String s, int i);

	public abstract void saveStatus(String s, int i);

	public abstract int getGlobalDefaultCount();

	public abstract int getMaxSortId();

	public abstract boolean isDefault(String s);

	public abstract BigDecimal getShiftHours(String s);

	public abstract Attendperiod getCurrentPeriod(String s);

	public abstract String getRealDate(String s, String s1, String s2);

	public abstract String saveOrUpdateShift(Attendshift attendshift,
			String as[], String as1[]);

	public abstract List getAsadListByShift(String s);

	public abstract void deleteAsadListByShift(String s);

	public abstract boolean deleteShift(Attendshift attendshift);

	public abstract List getShiftIdsByRestrict(String as[]);
}
